Component org.nuxeo.search.ui.pageproviders
In bundle org.nuxeo.search.ui
Contributions
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.search.ui.pageproviders">
<extension target="org.nuxeo.ecm.platform.query.api.PageProviderService"
point="providers">
<coreQueryPageProvider name="SAVED_SEARCHES">
<property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property>
<pattern>
SELECT * FROM Document WHERE ecm:mixinType = 'SavedSearch'
AND dc:creator = ? AND ecm:isProxy = 0
AND ecm:isCheckedInVersion = 0
AND ecm:currentLifeCycleState != 'deleted'
AND SORTED_COLUMN IS NOT NULL
</pattern>
<sort column="dc:title" ascending="true" />
</coreQueryPageProvider>
<coreQueryPageProvider name="SHARED_SAVED_SEARCHES">
<property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property>
<pattern>
SELECT * FROM Document WHERE ecm:mixinType = 'SavedSearch'
AND dc:creator != ? AND ecm:isProxy = 0
AND ecm:isCheckedInVersion = 0
AND ecm:currentLifeCycleState != 'deleted'
AND SORTED_COLUMN IS NOT NULL
</pattern>
<sort column="dc:title" ascending="true" />
</coreQueryPageProvider>
</extension>
</component>